/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package earthdawnnet.events.server;

import earthdawnnet.server.IEarthdawnServer;

/**
 *
 * @author Andreas Franek
 */
public class KickEvent extends ServerEvent
{
    private int toBeKicked;
    
    public KickEvent(int toBeKicked)
    {
        this.toBeKicked = toBeKicked;
    }

    @Override
    public void apply(IEarthdawnServer eds)
    {
        eds.kick(toBeKicked);
    }

    @Override
    public String getEventName()
    {
        return "KickEvent";
    }
    
}
